package com.qijian.business.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 质量汇总对象 report_quality_summary
 *
 * @author qijian
 * @date 2021-12-15
 */
@Data
@ToString
@TableName("report_quality_summary")
public class ReportQualitySummary {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;

    /** 请求标题 */
    @Excel(name = "请求标题")
    @ApiModelProperty(value = "请求标题")
    private String requestTitle;

    /** 单据编号 */
    @Excel(name = "单据编号")
    @ApiModelProperty(value = "单据编号")
    private String summaryNumber;

    /** 问题分类 */
    @Excel(name = "问题分类")
    @ApiModelProperty(value = "问题分类")
    private String uestionClassification;

    /** 责任部门 */
    @Excel(name = "责任部门")
    @ApiModelProperty(value = "责任部门")
    private String responsibilityDept;

    /** NCR来源 */
    @Excel(name = "NCR来源")
    @ApiModelProperty(value = "NCR来源")
    private String ncrSource;

    /** 检验员 */
    @Excel(name = "检验员")
    @ApiModelProperty(value = "检验员")
    private String inspectionBy;

    /** 检验日期 */
    @Excel(name = "检验日期")
    @ApiModelProperty(value = "检验日期")
    private String inspectionDate;

    /** 不合格类型 */
    @Excel(name = "不合格类型")
    @ApiModelProperty(value = "不合格类型")
    private String unqualifiedType;

    /** 项目编号 */
    @Excel(name = "项目编号")
    @ApiModelProperty(value = "项目编号")
    private String projectNumber;

    /** 项目名称 */
    @Excel(name = "项目名称")
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    /** 图号 */
    @Excel(name = "图号")
    @ApiModelProperty(value = "图号")
    private String drawingNo;

    /** 机台号 */
    @Excel(name = "机台号")
    @ApiModelProperty(value = "机台号")
    private String machineNo;

    /** 工序 */
    @Excel(name = "工序")
    @ApiModelProperty(value = "工序")
    private String processName;

    /** 不合格数量 */
    @Excel(name = "不合格数量")
    @ApiModelProperty(value = "不合格数量")
    private Long unqualifiedNumber;

    /** 接收部门 */
    @Excel(name = "接收部门")
    @ApiModelProperty(value = "接收部门")
    private String receivingDept;

    /** 接受人 */
    @Excel(name = "接受人")
    @ApiModelProperty(value = "接受人")
    private String receivingBy;

    /** 工艺处理人 */
    @Excel(name = "工艺处理人")
    @ApiModelProperty(value = "工艺处理人")
    private String processHandler;

    /** 项目主管 */
    @Excel(name = "项目主管")
    @ApiModelProperty(value = "项目主管")
    private String projectManager;

    /** 整改完成时间 */
    @Excel(name = "整改完成时间")
    @ApiModelProperty(value = "整改完成时间")
    private String rectificationFinishDate;

    /** 损失金额 */
    @Excel(name = "损失金额")
    @ApiModelProperty(value = "损失金额")
    private BigDecimal lossesAmount;

    /** 不合格事实描述 */
    @Excel(name = "不合格事实描述")
    @ApiModelProperty(value = "不合格事实描述")
    private String unqualifiedFactDescription;

    /** 责任相关人 */
    @Excel(name = "责任相关人")
    @ApiModelProperty(value = "责任相关人")
    private String responsiblePerson;

    /** 奖惩额度 */
    @Excel(name = "奖惩额度")
    @ApiModelProperty(value = "奖惩额度")
    private BigDecimal rewardCredits;

    /** 责任落实情况 */
    @Excel(name = "责任落实情况")
    @ApiModelProperty(value = "责任落实情况")
    private String implementationResponsibilities;

    /** 责任人 */
    @Excel(name = "责任人")
    @ApiModelProperty(value = "责任人")
    private String responsibilityBy;

    /** 责任人 */
    @Excel(name = "责任人手机号")
    @ApiModelProperty(value = "责任人手机号")
    private String responsibilityPhone;

    /** 处罚金额 */
    @Excel(name = "处罚金额")
    @ApiModelProperty(value = "处罚金额")
    private BigDecimal penaltyAmount;

    /** 最新处理日期 */
    @Excel(name = "最新处理日期")
    @ApiModelProperty(value = "最新处理日期")
    private String newProcessingDate;

    /** 严重程度 */
    @Excel(name = "严重程度")
    @ApiModelProperty(value = "严重程度")
    private String severity;

    /** 根本原因分析 */
    @Excel(name = "根本原因分析")
    @ApiModelProperty(value = "根本原因分析")
    private String rootCauseAnalysis;

    /** 生产最终确认 */
    @Excel(name = "生产最终确认")
    @ApiModelProperty(value = "生产最终确认")
    private String finalProductionConfirmation;

    /** 最终处理情况说明 */
    @Excel(name = "最终处理情况说明")
    @ApiModelProperty(value = "最终处理情况说明")
    private String finalProcessingDescription;

    /** 当前节点 */
    @Excel(name = "当前节点")
    @ApiModelProperty(value = "当前节点")
    private String currentNode;

    /** 未操作者 */
    @Excel(name = "未操作者")
    @ApiModelProperty(value = "未操作者")
    private String notOperator;

    /** 流程状态 */
    @Excel(name = "流程状态")
    @ApiModelProperty(value = "流程状态")
    private String processState;

    /** 归档日期 */
    @Excel(name = "归档日期")
    @ApiModelProperty(value = "归档日期")
    private String filingDate;

    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人")
    private String createBy;

    @Excel(name = "创建日期")
    @ApiModelProperty(value = "创建日期")
    private String createTime;

    private String updateBy;

    private Date updateTime;

    @TableLogic
    private Boolean isDel;



}
